package com.xmtlxx.oms.mapper;

import com.xmtlxx.oms.domain.RfidAlertCloseRecord;
import com.xmtlxx.oms.domain.bo.RfidAlertCloseRecordBo;
import com.xmtlxx.oms.domain.vo.RfidAlertCloseRecordVo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xmtlxx.common.core.mapper.BaseMapperPlus;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 预警关闭记录Mapper接口
 *
 * @author xmtlxx
 * @date 2023-03-13
 */
public interface RfidAlertCloseRecordMapper extends BaseMapperPlus<RfidAlertCloseRecordMapper, RfidAlertCloseRecord, RfidAlertCloseRecordVo> {
    /**
     * 根据条件分页查询预警关闭记录
     *
     * @param rfidAlertCloseRecord 预警关闭记录
     * @return Page RfidAlertCloseRecord
     */
    Page<RfidAlertCloseRecordVo> selectPageRfidAlertCloseRecordList(@Param("page") Page<RfidAlertCloseRecord> page,@Param("rfidAlertCloseRecord") RfidAlertCloseRecordBo rfidAlertCloseRecord);

    /**
     * 查询预警关闭记录列表
     *
     * @param rfidAlertCloseRecord 预警关闭记录
     * @return 预警关闭记录集合
     */
    List<RfidAlertCloseRecordVo> selectRfidAlertCloseRecordList(@Param("rfidAlertCloseRecord") RfidAlertCloseRecordBo rfidAlertCloseRecord);

    RfidAlertCloseRecordVo selectRfidAlertCloseRecordVoByID(String id);
}
